from functools import lru_cache
from app.models.llm import TinyLlamaModel

@lru_cache()
def get_llm_model():
    """获取 LLM 模型实例（单例）"""
    return TinyLlamaModel() 